/**     
 * @{#} Server.java Create on 2011-7-21 下午10:07:49     
 *     
 * Copyright (c) 2011 by xiaofeng.zhouxf     
 */
package com.sefer.memcached.connect;

/**
 * This class is manage server's ip and port , for short or long connect and so
 * on.
 * 
 * @author <a href="mailto:xiaofeng.zhouxf83@gmail.com">xiaofeng.zhouxf</a>
 * @version 1.0
 */
public final class Server {
	private String ip;
	private int port;
	private boolean isLong;

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public boolean isLong() {
		return isLong;
	}

	public void setLong(boolean isLong) {
		this.isLong = isLong;
	}

	public Server(String ip, int port) {
		super();
		this.ip = ip;
		this.port = port;
	}
	
	

}
